﻿using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace HardcoreGame.Content.Items.Tools.Hammer
{
    public class CactusHammer : ModItem
    {
        public override void SetDefaults()
        {
            Item.damage = 5;
            Item.DamageType = DamageClass.Melee;
            Item.width = 36;
            Item.height = 36;
            Item.useTime = 20;
            Item.useAnimation = 20;
            Item.hammer = 35;
            Item.rare = 0;
            Item.useStyle = 1;
            Item.useTurn = true;
            Item.knockBack = 3f;
            Item.value = 100;
            Item.UseSound = SoundID.Item1;
            Item.autoReuse = true;
        }
        public override void AddRecipes()
        {
            Recipe modRecipe = Recipe.Create(Type, 1);
            modRecipe.AddIngredient(276, 13);
            modRecipe.AddTile(18);
            modRecipe.Register();
        }
    }
}
